<?php
	class ProtOcorrencia {
		var $id;
		var $prot;
		var $ocorr;
		var $dt_ini;
		var $dt_fim;
		var $sit;
		var $usuario;
		
		function __construct($id = 1,$prot,$ocorr,$dt_ini,$dt_fim = "null",$usuario,$sit='N') {
			$this->setId($id);		
			$this->setProt($prot);		
			$this->setOcorr($ocorr);		
			$this->setDt_ini($dt_ini);		
			$this->setDt_fim($dt_fim);		
			$this->setUsuario($usuario);
			$this->setSit($sit);		
		}
		
		function getId() {
                        return $this->id;
		}
		function setId($id) {
			$this->id = $id;
		}
		
		function getProt(){
			return $this->prot;
		}
		function setProt($p) {
			$this->prot = $p;
		}
		
		function getOcorr() {
			return $this->ocorr;	
		}
		function setOcorr($o) {
			$this->ocorr = $o;		
		}

		function getDt_ini(){
			return $this->dt_ini;
		}
		function setDt_ini($d) {
			$this->dt_ini = $d;
		}
		
		function getDt_fim() {
			return $this->dt_fim;
		}
		function setDt_fim($d) {
			$this->dt_fim = $d;	
		}
		
		function getUsuario() {			
			return $this->usuario;
		}
		function setUsuario($u) {
			$this->usuario = $u;
		}	

		function getSit() {
			return $this->sit;
		}
		function setSit($s) {
			$this->sit = $s;			
		}
	}
?>